package com.liao.product.feign;

import com.liao.common.entity.member.UserAddressEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: ljt
 * @Description: 远程调用用户服务
 * @DateTime: 2025/3/16 上午10:20
 **/
@FeignClient("youyoumall-member")
public interface MemberFeignService {


    /**
     * 获取用户收货地址
     */
    @GetMapping("/member/useraddress/getAddress")
    public List<UserAddressEntity> getAddress(@RequestParam Integer id);

}
